﻿@{
//int total = Model.TotalCount;
}
<link href="~/www/css/style.css" rel="stylesheet" />
<div class="djcCen">
    <div class="djcCenSear">
        <form id="form1">
            <div class="djcCSLogo"><span>待稽查车辆</span></div>
            <input type="text" name="CarNO" value="请输入车牌号" class="djcCSTxt" />
            <button class="djcCSBut">
                <i class="fa fa-search"></i><a onclick="SearchData()">搜索</a>
            </button>
        </form>
    </div>
    @*<div id="syncCarExitStation" class="uitable" data-url="@Url.Action("Grid","MobileSyncCarExitStation")">
            @Html.Action("Grid", "MobileSyncCarExitStation")
        </div>*@
</div>
<script type="text/javascript">
    function SearchData() {
        alert("123456");
        var busCode = document.getElementById("CarNO").value;
        $.ajax({
            type: "POST",
            url: "MobileSyncCarExitStation/Grid",
            data: { CarNO: busCode},
            datatype: "json",
            timeOut: 15000,
            success: function (result) {
                if (data.success)
                {
                    window.location = " @Url.Action("Index", "MobileSyncCarExitStation")";
                }
            }
        });
    }
</script>